package com.xypower.service;

import com.github.pagehelper.PageInfo;
import com.xypower.pojo.Student;
import com.xypower.pojo.StudentVo;

import java.util.List;

public interface StudentService {
    List<Student> findAll();

    void insert(Student student);

    void update(Student student);

    void delete(String sid);

    PageInfo<Student> findPage(int page, int pageSize);

    PageInfo<Student> search(int page, int pageSize, StudentVo vo);
}
